package com.mc.fil.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.mc.common.annotation.Excel;
import com.mc.common.core.domain.BaseEntity;

/**
 * 基地信息对象 fil_base
 *
 * @author mc
 * @date 2021-04-12
 */
public class FilBase extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUserId;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updateUserId;

    /** 基地编号 */
    private String id;

    /** 基地名称 */
    @Excel(name = "基地名称")
    private String name;

    /** 定位 */
    @Excel(name = "定位")
    private String location;

    /** 合作模式 */
    @Excel(name = "合作模式")
    private String cooperation;

    /** 基础设施 */
    @Excel(name = "基础设施")
    private String basics;

    /** 描述 */
    @Excel(name = "描述")
    private String fieldDesc;

    /** 水土信息 */
    @Excel(name = "水土信息")
    private String soilWater;

    /** 面积 */
    @Excel(name = "面积")
    private String area;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdData;

    private String rings;

    private String x;

    private String y;

    /** 品名 */
    @Excel(name = "品名")
    private String partNames;

    public String getPartNames() {
        return partNames;
    }

    public void setPartNames(String partNames) {
        this.partNames = partNames;
    }

    public void setCreateUserId(String createUserId)
    {
        this.createUserId = createUserId;
    }

    public String getCreateUserId()
    {
        return createUserId;
    }
    public void setUpdateUserId(String updateUserId)
    {
        this.updateUserId = updateUserId;
    }

    public String getUpdateUserId()
    {
        return updateUserId;
    }
    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setLocation(String location)
    {
        this.location = location;
    }

    public String getLocation()
    {
        return location;
    }
    public void setCooperation(String cooperation)
    {
        this.cooperation = cooperation;
    }

    public String getCooperation()
    {
        return cooperation;
    }
    public void setBasics(String basics)
    {
        this.basics = basics;
    }

    public String getBasics()
    {
        return basics;
    }
    public void setFieldDesc(String fieldDesc)
    {
        this.fieldDesc = fieldDesc;
    }

    public String getFieldDesc()
    {
        return fieldDesc;
    }
    public void setSoilWater(String soilWater)
    {
        this.soilWater = soilWater;
    }

    public String getSoilWater()
    {
        return soilWater;
    }
    public void setArea(String area)
    {
        this.area = area;
    }

    public String getArea()
    {
        return area;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setCreatedData(Date createdData)
    {
        this.createdData = createdData;
    }

    public Date getCreatedData()
    {
        return createdData;
    }

    public String getRings() {
        return rings;
    }

    public void setRings(String rings) {
        this.rings = rings;
    }

    public String getX() {
        return x;
    }

    public void setX(String x) {
        this.x = x;
    }

    public String getY() {
        return y;
    }

    public void setY(String y) {
        this.y = y;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("createUserId", getCreateUserId())
                .append("createTime", getCreateTime())
                .append("updateUserId", getUpdateUserId())
                .append("updateTime", getUpdateTime())
                .append("id", getId())
                .append("name", getName())
                .append("location", getLocation())
                .append("cooperation", getCooperation())
                .append("basics", getBasics())
                .append("fieldDesc", getFieldDesc())
                .append("soilWater", getSoilWater())
                .append("area", getArea())
                .append("status", getStatus())
                .append("createdData", getCreatedData())
                .append("rings", getRings())
                .append("x", getX())
                .append("y", getY())
                .append("partNames", getPartNames())
                .toString();
    }
}